package com.ssy.lingxi.workflow.api.model.vo.response;

import com.ssy.lingxi.workflow.api.model.vo.response.ExternalTaskVO;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 查询流程定义时返回的VO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-04-26
 */
public class ComplexTaskDefVO implements Serializable {
    private static final long serialVersionUID = 3273281652254671076L;

    public ComplexTaskDefVO() {
        this.processName = "";
        this.currentOuterStep = 0;
        this.currentInnerStep = 0;
        this.externalTasks = new ArrayList<>();
    }

    /**
     * 流程名称
     */
    private String processName;

    /**
     * 当前的外部流程步骤
     */
    private Integer currentOuterStep;

    /**
     * 当前的内部流程步骤
     */
    private Integer currentInnerStep;

    /**
     * 外部任务列表
     */
    private List<ExternalTaskVO> externalTasks;

    public String getProcessName() {
        return processName;
    }

    public void setProcessName(String processName) {
        this.processName = processName;
    }

    public Integer getCurrentOuterStep() {
        return currentOuterStep;
    }

    public void setCurrentOuterStep(Integer currentOuterStep) {
        this.currentOuterStep = currentOuterStep;
    }

    public Integer getCurrentInnerStep() {
        return currentInnerStep;
    }

    public void setCurrentInnerStep(Integer currentInnerStep) {
        this.currentInnerStep = currentInnerStep;
    }

    public List<ExternalTaskVO> getExternalTasks() {
        return externalTasks;
    }

    public void setExternalTasks(List<ExternalTaskVO> externalTasks) {
        this.externalTasks = externalTasks;
    }
}
